<fieldset>
    <input name="object[0].name"  type="hidden" value="1"/>
        <input name="leaves[1].userId"  type="hidden" value="2"/>
        <input name="leaves[2].userId"  type="hidden" value="3"/>
        <input name="leaves[3].userId"  type="hidden" value="4"/>
    <dl>
        <dt>请假类型：</dt>
        <dd>
            <select name="leaveType" class="required" id="enable">                
                    <option value="公休" <#if leave.leaveType=="公休">selected</#if>>公休</option>
                    <option value="病休" <#if leave.leaveType=="病休">selected</#if>>病休</option>
                    <option value="调休" <#if leave.leaveType=="调休">selected</#if>>调休</option>
            </select>
        </dd>
    </dl>
    <dl>
        <dt>开始时间：</dt>
        <dd><input name="startTime"  type="text" class="date required textInput" value="${(leave.startTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}"
         dateFmt="yyyy-MM-dd HH:mm:ss" max_Date="{endTime}"/>
        <a class="inputDateButton" href="javascript:;">选择</a></dd>
    </dl>
    <dl>
        <dt>结束时间：</dt>
        <dd><input name="endTime"  type="text"  class="textInput required date" 
        value="${(leave.endTime?string('yyyy-MM-dd HH:mm:ss'))?if_exists}" dateFmt="yyyy-MM-dd HH:mm:ss" min_Date="{startTime}"/>
        <a class="inputDateButton" href="javascript:;">选择</a></dd>
    </dl>
    <dl class="nowrap">
        <dt>请假原因：</dt>
        <dd>
            <textarea name="reason"  class="textInput " rows="2" cols="50">${leave.reason!''}</textarea>
        </dd>
    </dl>
</fieldset>
